<template>
 
      <div class="shan-page-vue"  @click="fun(id)">
          <img :src="img" alt="">
          <div class="shan-pageright">
            <h4>{{title}}</h4>
            <p class="shan-page-p1">{{con1}}</p>
            <p class="shan-page-p2">{{con2}}</p>
          </div>
          <img src="img/shan-arow.jpg" alt="">
      </div>
  
</template>

<script>
export default {
  props:["id","img","title","con1","con2"],
   methods:{
   fun(id){
    
     this.$router.push({name:"shandetails",params:{id}})
   }
 }
}
</script>

<style scoped>
.shan-page-vue{
  width: 97%;
  height: 0.83rem;
  /* background-color: burlywood; */
  display: flex;
  align-items: center;
  /* justify-content: space-between; */
  box-sizing: border-box;
  padding:0 0.1rem;
  border-bottom: 0.01rem solid rgb(238, 236, 236);
  margin: 0 auto;
}
.shan-page-vue img{
  width: 64%;
  height:64%;
}
.shan-page-vue img:nth-of-type(2){
  width: 0.08rem;
  height: 0.08rem;
  margin-left: 0.8rem;
}
.shan-pageright{
  width: 7.45rem;
  margin-left: 0.2rem;
}
.shan-page-p1{
  font-size: 0.14rem;
  color: grey;
}
.shan-page-p2{
  font-size: 0.12rem;
  color: grey;
}
</style>